/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package maincz.tests.webapp.utils.scheduling.actions;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Main
 */
public class WaitAction implements IAction {

    private int millis;
    
    public WaitAction(int millis) {
        this.millis = millis;
    }

    @Override
    public void run() {
        try {
            Thread.sleep(this.millis);
        } catch (InterruptedException ex) {
            Logger.getLogger(WaitAction.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
    
}
